package com.hna.iot.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author cdw
 * @since 2018-11-06
 */
@TableName("iot_device_store")
public class IotDeviceStore extends Model<IotDeviceStore> {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	private Long id;

	/**
	 * 
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 
	 */
	@TableField(value="update_time")
	private Date updateTime;

	/**
	 * 
	 */
	private String descr;

	/**
	 * 
	 */
	@TableField(value="store_key")
	private String storeKey;

	/**
	 * 
	 */
	@TableField(value="store_value")
	private String storeValue;

	/**
	 * 1：metric 名称；2：tag名称；3：tag 值
	 */
	@TableField(value="store_type")
	private String storeType;

	/**
	 * 
	 */
	@TableField(value="store_tag_bucket")
	private String storeTagBucket;

	/**
	 * 
	 */
	@TableField(value="device_type_id")
	private Long deviceTypeId;

	/**
	 * 
	 */
	@TableField(value="device_type_name")
	private String deviceTypeName;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDescr() {
		return descr;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}

	public String getStoreKey() {
		return storeKey;
	}

	public void setStoreKey(String storeKey) {
		this.storeKey = storeKey;
	}

	public String getStoreValue() {
		return storeValue;
	}

	public void setStoreValue(String storeValue) {
		this.storeValue = storeValue;
	}

	public String getStoreType() {
		return storeType;
	}

	public void setStoreType(String storeType) {
		this.storeType = storeType;
	}

	public String getStoreTagBucket() {
		return storeTagBucket;
	}

	public void setStoreTagBucket(String storeTagBucket) {
		this.storeTagBucket = storeTagBucket;
	}

	public Long getDeviceTypeId() {
		return deviceTypeId;
	}

	public void setDeviceTypeId(Long deviceTypeId) {
		this.deviceTypeId = deviceTypeId;
	}

	public String getDeviceTypeName() {
		return deviceTypeName;
	}

	public void setDeviceTypeName(String deviceTypeName) {
		this.deviceTypeName = deviceTypeName;
	}

	@Override
	protected Serializable pkVal() {
		// TODO Auto-generated method stub
		return null;
	}

}
